<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<title>File Upload</title>

</head>

<body>


<s:form action="doUpload" method="POST" enctype="multipart/form-data">
	<tr>
		<td colspan="2"><h1>File Upload</h1></td>
	</tr>
	
	<s:file name="upload" label="File" required="true"/>
	<s:textfield name="fileName" label="File name on server" required="true"/>	
	<s:textfield name="location" label="Location (x;y)"/>
	<s:textfield name="metadata" label="Metadata"/>
				
	<s:submit />
</s:form>
</body>
</html>